<template>
  <div>
    <h3 class="cnmb">{{ NeiRon.title }}</h3>
    <hr />
    <div v-html="NeiRon.content"></div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      id: this.$route.params.id,
      NeiRon: []
    };
  },
  created() {
    this.getsing();
  },
  methods: {
    getsing() {
      this.axios.get("/api/goods/getdesc/" + this.id).then(res => {
        console.log(res.data.message[0]);
        this.NeiRon = res.data.message[0];
      });
    }
  }
};
</script>
<style lang="less">
.cnmb {
  text-align: center;
}
p {
    margin: 0 !important;
  img {
      /* display: block; */
      width: 100%;
      vertical-align: middle;
  }
}
</style>